projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a94abe
)
(Fsubst_char_in_region): Don't increment pos twice.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 14 Feb 1998 07:27:29 +0000
(07:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 14 Feb 1998 07:27:29 +0000
(07:27 +0000)
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index e1a706de4352d6afa39f124b10dc86fd4d801364..bb80541929314d45317287afb0392f886b9bfc1b 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-1826,8
+1826,6
@@
Both characters must have the same length of multi-byte form.")
if (NILP (noundo))
record_change (pos, 1);
for (i = 0; i < len; i++) *p++ = tostr[i];
- pos++;
- pos_byte += len;
}
INC_BOTH (pos, pos_byte);
}